package top.easyblog.common.constant;

/**
 * @author: frank.huang
 * @date: 2023-12-21 22:23
 */
public final class RedisDistributeKeyConstants {
    /**
     * 创建/生成短链分布式锁key
     */
    public static final String CREATE_URL_SHORTLINK_MAPPING_KEY = "shorklink:dlock:url-mapping:create:%s";

    /**
     * Redis消费者所前缀
     */
    public static final String REDIS_MQ_CONSUMER_LOCK_PREFIX = "shorklink:dlock:redis_mq_consumer:%s";

    /**
     * 压缩码生成分布式锁Key
     */
    public final static String COMPRESSION_CODE_GENERATE_KEY = "shorklink:dlock:compression-code-generate-key";


    /**
     * 压缩码队列分布式锁Key
     */
    public final static String COMPRESSION_CODE_QUEUE_FLUSH_KEY = "shorklink:dlock:compression-code-queue-flush-key";

}
